<?php /* Smarty version Smarty-3.1.12, created on 2016-07-20 10:21:18
         compiled from "D:\phpStudy\WWW\demonew\template\default\model\product_sortb.tpl" */ ?>
<?php /*%%SmartyHeaderCode:58857834a9c7619d8-25841505%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'bda67c5664f01ade7ca6f0024964ab3b7ae7454d' => 
    array (
      0 => 'D:\\phpStudy\\WWW\\demonew\\template\\default\\model\\product_sortb.tpl',
      1 => 1468981267,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '58857834a9c7619d8-25841505',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_57834a9c7e9948_48524692',
  'variables' => 
  array (
    'cust_val' => 0,
    'url_index' => 0,
    'skinpath' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_57834a9c7e9948_48524692')) {function content_57834a9c7e9948_48524692($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include 'D:\\phpStudy\\WWW\\demonew\\source\\core\\plugins\\modifier.truncate.php';
?><ul class="sort_a">
  	<div class="layer1">
      <a href="<?php echo $_smarty_tpl->tpl_vars['cust_val']->value['url'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['cust_val']->value['cname'];?>
" class="img"><img src="<?php echo $_smarty_tpl->tpl_vars['url_index']->value;?>
<?php echo $_smarty_tpl->tpl_vars['cust_val']->value['img'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['cust_val']->value['cname'];?>
" /></a>
      <div class="img_right">
          <h3><a href="<?php echo $_smarty_tpl->tpl_vars['cust_val']->value['url'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['cust_val']->value['cname'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['cust_val']->value['cname'],25);?>
</a></h3>
          <span><?php echo $_smarty_tpl->tpl_vars['cust_val']->value['intro'];?>
</span>
      </div>
      <div class="clearboth"></div>  
      <div class="pro_more"><span>+</span><a href="<?php echo $_smarty_tpl->tpl_vars['cust_val']->value['url'];?>
">查看详情》</a></div>
    </div> 
    <div class="catemore"><h2>分类优势</h2><a href="javascript:;">收起</a><img style="position:absolute;right:0px;top:10px;" src="<?php echo $_smarty_tpl->tpl_vars['skinpath']->value;?>
images/catem.png" /></div>
    <div class="productcates"><?php echo $_smarty_tpl->tpl_vars['cust_val']->value['content'];?>
</div>
</ul>
<script type="text/jscript">
  $(function(){
  var path_a = "<?php echo $_smarty_tpl->tpl_vars['skinpath']->value;?>
images/catem.png";
  var path_b = "<?php echo $_smarty_tpl->tpl_vars['skinpath']->value;?>
images/caten.png";
  var content= $(".productcates");
  $(".catemore a").click(function(){
     content.toggle(600,function(){
       if(content.css('display') == "none"){  
       $(".catemore a").text("查看");
       $(".catemore a").siblings("img").attr("src",path_b);
     }else{
       $(".catemore a").text("收起");
       $(".catemore a").siblings("img").attr("src",path_a);
     }
     });
  });
  });
</script><?php }} ?>